package com.xxgc.ssm.dao;

import com.xxgc.ssm.po.OrderForGoods;
import com.xxgc.ssm.po.OrderForGoodsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @shi jia yi
 * @date 2021/12/14/10:57
 */
public interface OrderForGoodsMapper {
    long countByExample(OrderForGoodsExample example);

    int deleteByExample(OrderForGoodsExample example);

    int deleteByPrimaryKey(Long ofgId);

    int insert(OrderForGoods record);

    int insertSelective(OrderForGoods record);

    List<OrderForGoods> selectByExample(OrderForGoodsExample example);

    OrderForGoods selectByPrimaryKey(Long ofgId);

    int updateByExampleSelective(@Param("record") OrderForGoods record, @Param("example") OrderForGoodsExample example);

    int updateByExample(@Param("record") OrderForGoods record, @Param("example") OrderForGoodsExample example);

    int updateByPrimaryKeySelective(OrderForGoods record);

    int updateByPrimaryKey(OrderForGoods record);
}